package com.bcn.login_mybatis_demo.service;

import com.bcn.login_mybatis_demo.pojo.User;
import com.bcn.login_mybatis_demo.pojo.UserDTO;

import java.util.List;

/**
 * @author 大白菜
 * @date Created in 2022/9/26 14:56
 */
public interface UserService {

    public User loginService(String uact, String upwd);

    public String registerService(User user);

    public List<User> getUserList(UserDTO userDTO);

    // 获取总数据量
    long getUserCount(UserDTO userParams);

    public User queryDetail(int uid);
    public String delUser(int uid);

    String updateUser(User user);

    Object findUserById(int uid);
}
